﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace Common.Aliyun
{
    /// <summary>
    /// 阿里云验证码一次校验结果
    /// </summary>
    public class AliyunCaptchaResult : ICaptchaComponentResult
    {
        /// <summary>
        /// 请求ID
        /// </summary>
        public string RequestId { get; set; }
        /// <summary>
        /// 业务代码
        /// </summary>
        public string BizCode { get; set; }
        /// <inheritdoc/>
        public string GetRawString()
        {
            return JsonConvert.SerializeObject(this);
        }
    }
}
